package com.springboot.jwt.dto;

/**
 * @ClassName RequestComment
 * @Description 请求、token 公共数据
 * @Author zyj
 * @Date 2023/4/28 15:29
 * @Version 1.0
 **/
public enum RequestComm {

    //token请求类型 admin：管理系统  blogUser：博客用户
    REQUEST_TOKEN_TYPE_ADMIN("admin", "管理系统 token"),
    REQUEST_TOKEN_TYPE_BLOGUSER("blogUser", "博客用户 token");

    private final String name;
    private final String description;

    RequestComm(String name, String description) {
        this.name = name;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }
}
